package com.yunfeisoft.business.dao.inter;

import com.yunfeisoft.business.model.Bed;
import com.yunfeisoft.common.base.BaseDao;
import com.yunfeisoft.common.utils.Page;

import java.util.List;
import java.util.Map;

/**
 * ClassName: BedDao
 * Description: 床位Dao
 * Author: Jackie liu
 * Date: 2020-01-13
 */
public interface BedDao extends BaseDao<Bed, String> {

    public Page<Bed> queryPage(Map<String, Object> params);

    public int deleteByRoomId(String roomId);

    public List<Bed> queryByRoomId(String roomId);

    List<Bed> bedList(String roomId);
}